package com.xxxx.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxxx.server.pojo.Admin;
import com.xxxx.server.pojo.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhoubin
 * @since 2022-03-13
 */

public interface AdminMapper extends BaseMapper<Admin> {


    IPage<Admin> getAdminByPage(Page<Admin> page, @Param("admin") Admin admin,@Param("roleid") int roleid,@Param("adminNow")Admin adminNow);
}
